home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3604 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Open database.mdb file, HOW ?
  5. Date: 25 Jan 1996 01:05:10 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4e6l06$8u2@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe3.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Jan 24, 1996 10:25:35 in article <Open database.mdb file, HOW ?>, 'Peter
  15. Bohn <a94bohn@hobbe.adb.gu.se>' wrote: 
  16.  
  17.  
  18. >Hello !!! 
  19. >How can I open a *.mdb file with C++-coding. Sitting here with  
  20. >MS Vc++ 4.0, and I really don't know how. So please get me started with  
  21. >some lines. 
  22.  
  23. You can always use the old stdio library function fopen -- but I 
  24. don't think that's what you're after.  I suspect that what you really 
  25. want to is to open the database which resides in the file you 
  26. mentioned.  A entirely different matter. 
  27.  
  28. Do the Enroll tutorial furnished with the MSVC++ system and you'll 
  29. have enough knowledge to start building your own database 
  30. query/manipulation programs.  MFC provides wrapper classes 
  31. for ODBC as well as DAO (if you chose that option when you 
  32. installed MSVC).  Of primary interest are the CRecordset and 
  33. CDaoRecordset classes.  Create them with the class wizard. 
  34.  
  35. But first, do the tutorial. 
  36. -- 
  37. Pete Grant 
  38. Kalevi, Inc. 
  39. Object Oriented Software Development
  40.